﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HXDNB.DAL
{
    public class SaleOrderList : SaleOrder
    {
        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        public string CustomerName { get; set; }

        /// <summary>
        /// 出货单状态名称
        /// </summary>
        public string StateName
        {
            get
            {
                return State == null ? "" : ((SaleOrderState)State).ToString();
            }
        }
        /// <summary>
        /// 付款状态名称
        /// </summary>
        public string PayStateName
        {
            get
            {
                return PayState == null ? "" : ((SalePayState)PayState).ToString();
            }
        }
    }
}
